/**
 * 专门处理发送过来的action
 */

const initstate = {
    value: '初始值'
}

export const reducers = (state = initstate, action) => {
    switch (action.type) {
        case 'send_type':
            return Object.assign({}, state, action)
        default:
            return state
    }
}